/*
 * Copyright 2014 by État de Genève (Switzerland)
 * All rights reserved.
 *
 * Author: ELCA Informatique SA
 */
define(function() {
    return {
        messageRequisition: {
            type: 'inbox',
            displayType: {
                container: 'lists/inboxList.html',
                table: 'lists/listTable.html'
            },
            actions: ['lists/actions/accept', 'lists/actions/transmit'],
            advancedSearch: {
                template: 'advanced-search/messages.html'
            },
            filters: []
        },
        messagesRequisitionsStandards:      { sameAs: 'messageRequisition' },
        messagesRequisitionsPoursuites:     { sameAs: 'messageRequisition' },
        messagesRequisitionsContinuer:      { sameAs: 'messageRequisition' },
        messagesRequisitionsVente:          { sameAs: 'messageRequisition' },
        messagesDemandeExtraits:            { sameAs: 'messageRequisition' },
        messagesFormulaireRetour:           { sameAs: 'messageRequisition' },
        messagesSystemesExternes:           { sameAs: 'messageRequisition' },
        messagesAQualifier:                 { sameAs: 'messageRequisition' },
        messagesProceduresSpeciales:        { sameAs: 'messageRequisition' },
        messagesDelegations:                { sameAs: 'messageRequisition' },
        messagesMajProcedures:              { sameAs: 'messageRequisition' },

        tachesTraitementsRequisitions:      {
            type: 'inbox',
            displayType: {
                container: 'lists/searchList.html',
                table: 'lists/listTable.html'
            },
            advancedSearch: {
                template: 'advanced-search/tasks.html'
            },
            actions: ['lists/actions/prendre', 'lists/actions/reposer', 'lists/actions/transmitTask' ],
            filters: []
        },
        tachesNotificationCdp:              { sameAs: 'tachesTraitementsRequisitions' },
        tachesNotificationCdf:              { sameAs: 'tachesTraitementsRequisitions' },
        tachesExecutionSaisie:              { sameAs: 'tachesTraitementsRequisitions' },
        tachesSaisies:                      { sameAs: 'tachesTraitementsRequisitions' },
        tachesSursis:                       { sameAs: 'tachesTraitementsRequisitions' },
        tachesVente:                        { sameAs: 'tachesTraitementsRequisitions' },
        tachesDistributionDerniers:         { sameAs: 'tachesTraitementsRequisitions' },
        tachesDivers:                       { sameAs: 'tachesTraitementsRequisitions' },

        dossiersPoursuites: {
            type: 'search',
            displayType: {
                container: 'lists/searchList.html',
                table: 'lists/listTablePoursuites.html'
            },
            advancedSearch: {
                template: 'advanced-search/poursuites.html'
            },
            actions: ['lists/actions/editDocument', 'lists/actions/addActivity'],
            filters: []
        },
        dossiersPoursuitesOrdinaires:                   { sameAs: 'dossiersPoursuites' },
        dossiersPoursuitesRealisationGageImmobilier:    { sameAs: 'dossiersPoursuites' },
        dossiersPoursuitesRealisationGageMobilier:      { sameAs: 'dossiersPoursuites' },
        dossiersPoursuitesSequestre:                    { sameAs: 'dossiersPoursuites' },
        dossiersPoursuitesInventaire:                   { sameAs: 'dossiersPoursuites' },
        dossiersPoursuitesValidationSequestre:          { sameAs: 'dossiersPoursuites' },
        dossiersPoursuitesValidationInventaire:         { sameAs: 'dossiersPoursuites' },
        dossiersPoursuitesEffetDeChange:                { sameAs: 'dossiersPoursuites' },
        dossiersPoursuitesConstitutionSurete:           { sameAs: 'dossiersPoursuites' },
        dossiersSeries:                                 { sameAs: 'dossiersPoursuites' },
        dossiersDelegations:                            { sameAs: 'dossiersPoursuites' },
        dossiersRenseignements:                         { sameAs: 'dossiersPoursuites' },
        dossiersActesDefautBiens:                       { sameAs: 'dossiersPoursuites' },
        dossiersPactesProprietes:                       { sameAs: 'dossiersPoursuites' },


        tiersTiers: {
            type: 'search',
            displayType: {
                container: 'lists/searchList.html',
                table: 'lists/listTable.html'
            },
            actions: ['lists/actions/extractionForDuplicate'],
            actionBar: 'actionbar/tiers.html',
            advancedSearch: {
                template: 'advanced-search/tiers.html'
            },
            filters: []
        },
        lierTiers: {
            type: 'search',
            displayType: {
                table : "lists/popupListTable.html"
            },
            actions: ['lists/actions/extractionForDuplicate'],
            actionBar: 'actionbar/tiers.html',
            advancedSearch: {
                template: 'advanced-search/tiers.html'
            },
            filters: []
        },
        tiersPersonnesPhysiques:                        { sameAs: 'tiersTiers' },
        tiersPersonnesMorales:                          { sameAs: 'tiersTiers' },
        tiersCommunautes:                               { sameAs: 'tiersTiers' },
        tiersConvocationsGroupeeEnCour:                 { sameAs: 'tiersTiers' },
        tiersTournees:                                  { sameAs: 'tiersTiers' },
        tiersTousLesBiens:                              { sameAs: 'tiersTiers' }
    };
});
